<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
<title>后台管理</title>

<base href="<?=base_url();?>">

<link rel="stylesheet" href="css/admin.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/admin_table.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/admin_form.css" type="text/css" media="screen" />
<script language="JavaScript" type="text/javascript" src="js/jquery.js"></script>
<script language="JavaScript" type="text/javascript">
  function show_menu(sText)
  {
  	$('.navigation li').each(function(index) 
  	{
    	if($(this).text() == sText)
    	{
    		$(this).addClass('current');
    	}
  	});
  }
</script>
    
</head>
<body>
 
<div id="header">

	<h1><a href="#"><img src="images/logo.gif" alt="admin" /></a></h1>
	<div class="menu">Welcome <a href="#">Admin</a>! | <a href="#">Help</a> | <a href="#">Settings</a> | <a href="#">Logout</a></div>

</div>

<div id="wrapper">

	<!--<div id="notice"><strong>Updated</strong>: Your dashboard has been updated.</div>-->
	<!--<div id="succeed"><strong>Succeed</strong>: We have successfully sent your message!</div>-->
	<!--<div id="error"><strong>Error</strong>: Something went wrong.</div>-->

	<div id="sidebar">
	
		<!--<div class="title">
			<h2>Navigation</h2>
		</div>-->
		
		<div class="navigation">
			<ul>
				<li class="active"><a href="admin">控制面板</a></li>
				<li><a href="admin/post_list">文章管理</a>
					<ul>
						<li><a href="admin/post_list">文章列表</a></li>
						<li><a href="admin/post">添加文章</a></li>
						<li><a href="admin/post_type">文章分类</a></li>
						<!--<li><a href="#">Search</a></li>-->
					</ul>
				</li>
				<li><a href="admin/global_options">全局设置</a>
					<ul>
						<li><a href="admin/global_options">基本设置</a></li>
					</ul>
				</li>
				<!--<li><a href="admin">System</a></li>-->
			</ul>
		</div>
		<!--
		<div class="title">		
			<h2>Search</h2>
		</div>
		
		<div class="box">
			<form id="search-form" method="get" action="#">
				<input type="text" name="search" id="search-input" class="search-input" />
				<input type="image" src="images/button-search.gif" id="search-submit" class="search-submit" />
			</form>
		</div>

		<div class="title">		
			<h2>Blog</h2>
		</div>
		
		<div class="box">
			<ul id="blog">
				<li><h4><a href="#" title="Sample Title">Sample Title</a> <abbr title="2009-01-20">2009-01-20</abbr></h4><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p></li>
				<li><h4><a href="#" title="Sample Title 2">Sample Title 2</a> <abbr title="2009-01-20">2009-01-15</abbr></h4><p>Duis sed orci. Fusce sapien sapien, ultricies eu, sagittis in, pretium nec, quam. Curabitur sed turpis. Aenean pharetra, quam non sagittis venenatis, eros nisl fringilla ligula, in viverra mi tortor a massa. In mi.</p></li>
				<li><h4><a href="#" title="Sample Title 3">Sample Title 3</a> <abbr title="2009-01-20">2009-01-10</abbr></h4><p>Ut urna. Praesent scelerisque risus ut ipsum. Duis lacinia elit ut dolor.</p></li>
			</ul>
		</div>
		-->
	
	</div>
	
	<div id="content">
		<?=$this->load->view($view)?>	
	</div>
	
	<div id="footer">
		<span class="left"><a href="#">Dashboard</a> | <a href="#">Clients</a> | <a href="#">Reports</a> | <a href="#">System</a></span>
		<span class="right">&copy; 2009 admin. All Rights Reserved.</span>
	</div>

</div>
 
</body>
</html>